home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Present…nuary (Partner) - Disc 2
/
The Apple Reference and Presentations Library (Disc 2)(January 1994).iso
/
Synergy Software
/
US English
/
KaleidaGraph™-PPC
/
Examples folder
/
Macro Source
/
Summary Stats
< prev
next >
Wrap
Text File
|
1989-07-24
|
2KB
|
203 lines
FIX 4
CM
size
STO 99
const 1.000000000e+00
x<>y
x <= y
STOP
RCL 99
STO 00
alpha "count the # of pts"
LBL 20
RCLi 01
test 1
GTO 21
test 2
GTO 21
const 1.000000000e+00
ADD 98
LBL 21
const 1.000000000e+00
ADD 01
const 0.000000000e+00
DSE 00
GTO 20
RCL 98
const 1.000000000e+00
x > y
STOP
RCL 99
STO 00
const 0.000000000e+00
STO 01
LBL 00
RCLi 01
test 1
GTO 23
test 2
GTO 23
ADD 02
LBL 23
const 1.000000000e+00
ADD 01
const 0.000000000e+00
DSE 00
GTO 00
RCL 02
RCL 98
/
STO 08
RCL 99
STO 00
const 0.000000000e+00
STO 01
STO 03
STO 18
LBL 01
RCLi 01
test 1
GTO 24
test 2
GTO 24
RCL 08
-
abs
ADD 18
x^2
ADD 03
LBL 24
const 1.000000000e+00
ADD 01
const 0.000000000e+00
DSE 00
GTO 01
RCL 98
const 1.000000000e+00
-
1/x
Enter
RCL 03
*
sqrt
STO 80
RCL 99
const 1.000000000e+00
-
STO 97
alpha "Now compute the min/max/mean"
const 0.000000000e+00
STO 00
STO 20
const 9.999999945e+32
STO 01
const -9.999999945e+32
STO 02
const 0.000000000e+00
STO 10
LBL 30
RCLi 10
test 1
GTO 31
test 2
GTO 31
STO 19
alpha "passed, found a data pt"
alpha "sum to mean"
ADD 00
x^2
ADD 20
alpha "test for min"
RCL 01
RCL 19
x <= y
STO 01
alpha "test for max"
RCL 02
RCL 19
x > y
STO 02
LBL 31
RCL 97
ISG 10
GTO 30
RCL 00
STO 12
RCL 98
STO 13
/
STO 11
RCL 01
STO 00
alpha "Minimum ="
STOa 0
RCL 02
STO 01
alpha "Maximum ="
STOa 1
RCL 12
STO 02
alpha "Sum ="
STOa 2
RCL 13
STO 03
alpha "Points ="
STOa 3
RCL 11
STO 04
alpha "Mean ="
STOa 4
RCL 20
RCL 13
/
sqrt
STO 05
alpha "Root Mean Square ="
STOa 5
RCL 80
STO 06
alpha "Std. Deviation ="
STOa 6
RCL 18
RCL 13
/
STO 07
alpha "Mean Deviation ="
STOa 7
RCL 80
RCL 13
sqrt
/
STO 08
alpha "Standard Error ="
STOa 8
alpha "Summary Statistics:"
view 9
STOP